package com.xz.stu.server.mapper;

import com.xz.stu.server.entity.Enrollment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xz.stu.server.vo.grade.GradeByTermVo;
import com.xz.stu.server.vo.grade.GradeStudent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 熊磊
* @description 针对表【school_enrollment】的数据库操作Mapper
* @createDate 2025-04-04 15:49:12
* @Entity com.xz.stu.server.entity.Enrollment
*/
public interface EnrollmentMapper extends BaseMapper<Enrollment> {

    List<GradeStudent> getGrade(@Param("userId") Long userId,@Param("termId") Long termId);

    List<GradeByTermVo> getgetGradeByTerm();
}




